<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SSF.OS.OSPF: Link State Database Content Test</title>
</head>

<body bgcolor="white">

<h2>SSF.OS.OSPF Link State Database Content Test</h2>

<h3>Description</h3>

Check that the methods <code>sOSPF.createLSDatabase()</code> and
<code>sOSPF.acceptASExternalRoute()</code> create the link state
database correctly.

<h3>Expected Results</h3>

<p align="justify">
The link state information should reflect the current network status
and topology.  In a single OSPF area all link state databases should
be identical.  In this test the network components don't fail, thus
after convergence of the external route flooding protocol (present
only in multi-AS configurations) the link state databases don't change
any more.
</p>

<h3>Files</h3>

<p>
Configuration file: <a href="lsdb2.dml"><code>lsdb2.dml</code></a><br>
Raw output: <a href="lsdb2-raw.out"><code>lsdb2-raw.out</code></a>
</p>

<h3>Analysis</h3>

<b>Example Link State Database</b>

<p>
<u>LEGEND</u><br>
<table cellpadding="0" cellspacing="0">
<tr>
<td><i>Symbol</i></td>
<td>&nbsp;&nbsp;</td>
<td><i>Definition</i></td>
</tr>

<tr>
<td><tt>typ</tt></td>
<td>&nbsp;&nbsp;</td>
<td>the link type</td>
</tr>

<tr>
<td><tt>p2p</tt></td>
<td>&nbsp;&nbsp;</td>
<td>a point-to-point link to an OSPF router</td>
</tr>

<tr>
<td><tt>p2h</tt></td>
<td>&nbsp;&nbsp;</td>
<td>a point-to-point link to a host</td>
</tr>

<tr>
<td><tt>stb</tt></td>
<td>&nbsp;&nbsp;</td>
<td>link to a stub network (such as a LAN)</td>
</tr>

<tr>
<td><tt>nh</tt></td>
<td>&nbsp;&nbsp;</td>
<td>the router's NHI address prefix</td>
</tr>

<tr>
<td><tt>lnkid</tt></td>
<td>&nbsp;&nbsp;</td>
<td>the IP address</td>
</tr>

<tr>
<td><tt>dat</tt></td>
<td>&nbsp;&nbsp;</td>
<td>data (meaning depends upon link type)</td>
</tr>

<tr>
<td><tt>mtyp</tt></td>
<td>&nbsp;&nbsp;</td>
<td>the metric type</td>
</tr>

<tr>
<td><tt>met</tt></td>
<td>&nbsp;&nbsp;</td>
<td>the metric value (link cost)</td>
</tr>

</table>

<font color="#ff0000">
<pre>
2:0   Link State Database for OSPF at host 2:0
2:0 AE  - - - - - AS External Links
2:0 RL  - - - - - Router Links
2:0 RL 2:0  router 2:0 --->
2:0 RL 2:0 .   area=0 typ=p2p nh=2:1      lnkid=0.0.0.158  dat=1  mtyp=0 met=1  -->
2:0 RL 2:0 .   area=0 typ=p2p nh=2:2      lnkid=0.0.0.154  dat=0  mtyp=0 met=1  -->
2:0 RL 2:0 .   area=0 typ=stb nh=2:0      lnkid=0.0.0.152  dat=30 mtyp=0 met=1  -->
2:0 RL 2:0 .   area=0 typ=stb nh=2:0      lnkid=0.0.0.156  dat=30 mtyp=0 met=1 
2:0 RL 2:1  router 2:1 --->
2:0 RL 2:1 .   area=0 typ=p2p nh=2:0      lnkid=0.0.0.157  dat=0  mtyp=0 met=1  -->
2:0 RL 2:1 .   area=0 typ=p2p nh=2:3      lnkid=0.0.0.78   dat=1  mtyp=0 met=1  -->
2:0 RL 2:1 .   area=0 typ=stb nh=2:1      lnkid=0.0.0.156  dat=30 mtyp=0 met=1  -->
2:0 RL 2:1 .   area=0 typ=stb nh=2:1      lnkid=0.0.0.76   dat=30 mtyp=0 met=1 
2:0 RL 2:2  router 2:2 --->
2:0 RL 2:2 .   area=0 typ=p2p nh=2:0      lnkid=0.0.0.153  dat=3  mtyp=0 met=1  -->
2:0 RL 2:2 .   area=0 typ=p2p nh=2:3      lnkid=0.0.0.150  dat=2  mtyp=0 met=1  -->
2:0 RL 2:2 .   area=0 typ=p2p nh=2:4      lnkid=0.0.0.146  dat=1  mtyp=0 met=1  -->
2:0 RL 2:2 .   area=0 typ=stb nh=2:2      lnkid=0.0.0.136  dat=29 mtyp=0 met=1  -->
2:0 RL 2:2 .   area=0 typ=stb nh=2:2      lnkid=0.0.0.144  dat=30 mtyp=0 met=1  -->
2:0 RL 2:2 .   area=0 typ=stb nh=2:2      lnkid=0.0.0.148  dat=30 mtyp=0 met=1  -->
2:0 RL 2:2 .   area=0 typ=stb nh=2:2      lnkid=0.0.0.152  dat=30 mtyp=0 met=1 
2:0 RL 2:3  router 2:3 --->
2:0 RL 2:3 .   area=0 typ=p2p nh=2:1      lnkid=0.0.0.77   dat=3  mtyp=0 met=1  -->
2:0 RL 2:3 .   area=0 typ=p2p nh=2:2      lnkid=0.0.0.149  dat=0  mtyp=0 met=1  -->
2:0 RL 2:3 .   area=0 typ=p2p nh=2:5      lnkid=0.0.0.74   dat=1  mtyp=0 met=1  -->
2:0 RL 2:3 .   area=0 typ=stb nh=2:3      lnkid=0.0.0.148  dat=30 mtyp=0 met=1  -->
2:0 RL 2:3 .   area=0 typ=stb nh=2:3      lnkid=0.0.0.64   dat=29 mtyp=0 met=1  -->
2:0 RL 2:3 .   area=0 typ=stb nh=2:3      lnkid=0.0.0.72   dat=30 mtyp=0 met=1  -->
2:0 RL 2:3 .   area=0 typ=stb nh=2:3      lnkid=0.0.0.76   dat=30 mtyp=0 met=1 
2:0 RL 2:4  router 2:4 --->
2:0 RL 2:4 .   area=0 typ=p2p nh=2:2      lnkid=0.0.0.145  dat=1  mtyp=0 met=1  -->
2:0 RL 2:4 .   area=0 typ=stb nh=2:4      lnkid=0.0.0.128  dat=29 mtyp=0 met=1  -->
2:0 RL 2:4 .   area=0 typ=stb nh=2:4      lnkid=0.0.0.144  dat=30 mtyp=0 met=1 
2:0 RL 2:5  router 2:5 --->
2:0 RL 2:5 .   area=0 typ=p2p nh=2:3      lnkid=0.0.0.73   dat=2  mtyp=0 met=1  -->
2:0 RL 2:5 .   area=0 typ=p2p nh=2:6      lnkid=0.0.0.42   dat=0  mtyp=0 met=1  -->
2:0 RL 2:5 .   area=0 typ=stb nh=2:5      lnkid=0.0.0.32   dat=29 mtyp=0 met=1  -->
2:0 RL 2:5 .   area=0 typ=stb nh=2:5      lnkid=0.0.0.40   dat=30 mtyp=0 met=1  -->
2:0 RL 2:5 .   area=0 typ=stb nh=2:5      lnkid=0.0.0.72   dat=30 mtyp=0 met=1 
2:0 RL 2:6  router 2:6 --->
2:0 RL 2:6 .   area=0 typ=p2p nh=2:5      lnkid=0.0.0.41   dat=3  mtyp=0 met=1  -->
2:0 RL 2:6 .   area=0 typ=stb nh=2:6      lnkid=0.0.0.0    dat=29 mtyp=0 met=1  -->
2:0 RL 2:6 .   area=0 typ=stb nh=2:6      lnkid=0.0.0.16   dat=29 mtyp=0 met=1  -->
2:0 RL 2:6 .   area=0 typ=stb nh=2:6      lnkid=0.0.0.40   dat=30 mtyp=0 met=1 
2:0 RL 2:6 .   area=0 typ=stb nh=2:6      lnkid=0.0.0.8    dat=29 mtyp=0 met=1  -->
</pre>
</font>

<h3>Results</h3>

<p>
The link state database matches the tested topology.
</p>


<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

</body>
</html>
